package spring.learn.tx.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

/**
 * Description
 * Copyright © 启明星辰 版权所有
 *
 * @author chenjiquan
 * @date 2024-09-11
 */
public interface UserMapper {

	@Insert("insert into user values('zhangsan', 18)")
	int insert();

	@Update("update user set age = 19 where name = 'zhangsan'")
	int update();

}
